#!/bin/bash

find . -name "*.h" -o -name "*.c" -o -name "*.py" -o -name "*.lua" -o -name "*.erl" -o -name "*.hrl" -o -name "*.java" -o -name "*.cpp" -o -name "*.hpp" >> cscope.files
cscope -bkq -i cscope.files

find . -name "*.h" -o -name "*.c" -o -name "*.cpp" -o -name "*.hpp" | xargs etags --lang=c --lang=c++
